import Layout from '../views/layout/Layout'

export const RadioRouter = {
  path: '/radio',
  component: Layout,
  redirect: 'noredirect',
  alwaysShow: true,
  name: 'RadioManager',
  meta: {
    title: '媒资管理',
    icon: 'media'
  },
  children: [
    {
      path: 'videoList',
      component: () => import('@/views/radio/media/videoList'),
      name: 'videoList',
      meta: {
        title: '视频素材',
        noCache: true,
        subTitle: '视频素材管理'
      }
    },
    {
      path: 'audioList',
      component: () => import('@/views/radio/media/audioList'),
      name: 'audioList',
      meta: {
        title: '音频素材',
        noCache: true,
        subTitle: '音频素材管理'
      }
    },
    {
      path: 'setCate',
      component: () => import('@/views/radio/media/setCate'),
      name: 'setCate',
      meta: {
        title: '分类设置',
        noCache: true,
        subTitle: '分类设置'
      }
    },
    {
      path: 'batchUpdate',
      component: () => import('@/views/radio/media/batchUpdate'),
      name: 'batchUpdate',
      meta: {
        title: '短视频批量上传',
        noCache: true,
        subTitle: '批量上传'
      }
    },
    {
      path: 'recovery',
      component: () => import('@/views/radio/media/recovery'),
      name: 'recovery',
      meta: {
        title: '回收站',
        noCache: true,
        subTitle: '媒资回收站'
      }
    },
    {
      path: 'examine',
      component: () => import('@/views/radio/media/examine'),
      name: 'examine',
      meta: {
        title: '素材审核',
        noCache: true,
        subTitle: '媒资审核'
      }
    }
  ]
}

export default RadioRouter
